﻿using System;
using AdAggregator.SearchData;

namespace RealEstateAggregator.Models.SearchData
{
    public class OtoDomPlSearchData : BaseSearchData
    {
        public String Voivodship { get; set; }

        public String City { get; set; }

        public String District { get; set; }

        public String Street { get; set; }

        public String AdvertisementType { get; set; }

        public String EstateType { get; set; }

        public String MarketType { get; set; }

        public String PriceMin { get; set; }

        public String PriceMax { get; set; }

        public String PricePerMeterMin { get; set; }

        public String PricePerMeterMax { get; set; }

        public String FloorMin { get; set; }

        public String FloorMax { get; set; }

        public String AreaMin { get; set; }

        public String AreaMax { get; set; }

        public String RoomCountFrom { get; set; }

        public String RoomCountTo { get; set; }

        public String YearBuiltMin { get; set; }

        public String YearBuiltMax { get; set; }

        public String Keywords { get; set; }

        public String OnlyWithPhoto { get; set; }

        public OtoDomPlSearchData()
        {
            Voivodship = "0";
            City = String.Empty;
            District = String.Empty;
            Street = String.Empty;
            AdvertisementType = "sell";
            EstateType = "Insertion";
            MarketType = String.Empty;
            PriceMin = String.Empty;
            PriceMax = String.Empty;
            PricePerMeterMin = String.Empty;
            PricePerMeterMax = String.Empty;
            AreaMin = String.Empty;
            AreaMax = String.Empty;
            RoomCountFrom = String.Empty;
            RoomCountTo = String.Empty;
            YearBuiltMin = String.Empty;
            YearBuiltMax = String.Empty;
            Keywords = String.Empty;
            OnlyWithPhoto = "n";
            Page = 1;
            OrderBy = "activation_date DESC";
        }
    }
}